﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment.Class
{
    // This class is linked with RFQ class in creating the objects to store in ArrayList.
    class RFQItem
    {
        private int rfqNumber;      
        private string rfqItemID;             
        private int quantities;        
        private double unitPrice;

        public RFQItem(int rfqNumber, string rfqItemID, int quantities, double unitPrice)
        {
            this.rfqNumber = rfqNumber;
            this.rfqItemID = rfqItemID;
            this.quantities = quantities;
            this.unitPrice = unitPrice;
        }

        public int RfqNumber
        {
            get { return rfqNumber; }
            set { rfqNumber = value; }
        }

        public string RfqItemID
        {
            get { return rfqItemID; }
            set { rfqItemID = value; }
        }

        public int Quantities
        {
            get { return quantities; }
            set { quantities = value; }
        }

        public double UnitPrice
        {
            get { return unitPrice; }
            set { unitPrice = value; }
        }
    }
}
